package com.zzq.provider.service;

import com.zzq.provider.bean.Student;

import java.util.List;
import java.util.Optional;

/**
 * @Author zzq
 * @Date 2020/2/26 18:35
 * @Version 1.0
 */
public interface StudentService {
    boolean saveStudent(Student student);

    boolean deleteStudent(Integer id);

    boolean updateStudent(Student student);

    Student getStudent(Integer id);

    Optional<Student> getById(Integer id);

    List<Student> findAll();
}
